from django.conf.urls.static import static
from django.urls import path, include

from hshims import settings

urlpatterns = [
    path('api/base/', include('base.api.urls')),
    path('api/base/m/', include('base.api.mobile.mobile_urls')),
    path('api/user/', include('users.api.urls')),
    path('api/user/m/', include('users.api.mobile.mobile_urls')),
    path('api/purchase/', include('purchase.api.urls')),
    path('api/store/', include('store.api.urls')),
    path('api/store/m/', include('store.api.mobile.mobile_urls')),
    path('api/sale/', include('sale.api.urls')),
    path('api/finance/', include('finance.api.urls')),
    path('api/finance/m/', include('finance.api.mobile.mobile_urls')),
    path('api/points/', include('points.api.urls')),
    path('api/cards/', include('cards.api.urls')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
